import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {FinFinanceManageComponent} from './fin-finance-manage.component';

const routes: Routes = [
    {path: '', component: FinFinanceManageComponent,
        children: [
            {path: '', redirectTo: 'list', pathMatch: 'full'},
            {path: 'add', loadChildren: './add-fin-finance-manage/add-fin-finance-manage.module#AddFinFinanceManageModule'},
            {path: 'list', loadChildren: './list-fin-finance-manage/list-fin-finance-manage.module#ListFinFinanceManageModule'},
            {path: 'modify', loadChildren: './modify-fin-finance-manage/modify-fin-finance-manage.module#ModifyFinFinanceManageModule'},
            {path: 'report', loadChildren: './report-fin-finance-manage/report-fin-finance-manage.module#ReportFinFinanceManageModule'},
        ]
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class FinFinanceManageRoutingModule {
}
